

#include <linux/module.h>    // included for all kernel modules
#include <linux/kernel.h>    // included for KERN_INFO
#include <linux/init.h>      // included for __init and __exit macros


static int __init hello_init(void)
{
	printk(KERN_INFO "This is hello module, I am created by Leo!\n");
	return 0;
}

static int __exit hello_exit(void)
{
	printk(KERN_INFO "hello module is dead...\n");
	return 0;
}


module_init(hello_init);
module_exit(hello_exit);


